package com.microsoft.mcp.sample.server.config;

import org.springframework.boot.CommandLineRunner;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class StartupConfig {

  @Bean
  public CommandLineRunner startupInfo() {
    return args -> {
      System.out.println("\n" + "=".repeat(60));
      System.out.println("Calculator Mcp Server is Starting...");
      System.out.println("SSE endpoint: http://localhost:8080/sse");
      System.out.println("Health check: http://localhost:8080/actuator/health");
      System.out.println("=".repeat(60) + "\n");
    };
  }
}
